<template>
	<view class="u-demo">
		<view class="u-demo-title">
			{{content.title}}
		</view>
		<image :src="base+content.cover" mode="" style="width: 100%;"></image>
		<view class="" style="overflow: hidden;" v-html="content.content">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				base:'',
				content:''
			}
		},
		onLoad(options) {
			this.base = uni.getStorageSync('serIP')
			this.getlun(options.id)
		},
		methods: {
			getlun(id){
				this.$get(this.base+'/prod-api/press/press/'+id).then((res)=>{
					this.content = res.data			
				})
			}
		}
	}
</script>

<style>

</style>
